constraintlayout: Make sure guides get their constraints
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2020 18:59:08 +0000 (14:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2020 19:04:13 +0000 (15:04 -0400)
commit2dbaca2464f9baf402a9ac165b78c19e2015dad9
tree53594e84ae18480d56b4c8cd3ab7cb620e02d980
parent4b8134b19b7430b37093d2361d94313137ba0388
constraintlayout: Make sure guides get their constraints

When using GtkBuilder to create constraints and guides,
the layout manager is already rooted when the guides get
created, and we were forgetting to create the guides
constraints in this case. Fix it by adding a call to
gtk_constraint_guide_update().

This was showing up in the new builder-based constraints
demo as the guide not having the expected effect.
gtk/gtkconstraintlayout.c